import com.xmut.mall.search.es.document.product.ProductESPojo;
import com.xmut.mall.search.es.mapper.ProductEsMapper;
import com.xmut.mall.search.service.ProductService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.List;

@SpringBootTest
public class test {
    @Autowired
    private ProductEsMapper productEsMapper;

    @Test
    void testDeleteDocument() {
        List<ProductESPojo> productESPojoList = productEsMapper.selectList(null);
        System.out.println(productESPojoList);
    }
}
